<?php
class omeanalysts_ctl_ome_ivantext extends desktop_controller{

    public function delivery(){ //快递费结算表

    	$op_id  = $this->user->get_id();
    	$_POST['op_id'] = $op_id;
    	$_POST['shop_ids'] = $this->shopIds;
        $_POST['branch_ids'] = $this->branchIds;
        kernel::single('omeanalysts_ome_deliveryDetail')->set_params($_POST)->display();
    }
    public function deliveryold(){ //快递费结算表

        $op_id  = $this->user->get_id();
        $_POST['op_id'] = $op_id;
        $_POST['shop_ids'] = $this->shopIds;
        kernel::single('omeanalysts_ome_deliveryDetailold')->set_params($_POST)->display();
    }
    //应收快递费明细表
    public function deliveryexpressfeeAR()
    {
    	$op_id  = $this->user->get_id();
    	$_POST['op_id'] = $op_id;
    	$_POST['shop_ids'] = $this->shopIds;
        $_POST['branch_ids'] = $this->branchIds;
        kernel::single('omeanalysts_ome_deliveryexpressfeeAR')->set_params($_POST)->display();
    }
    //应付快递费明细表

    public function deliveryexpressfeeAP()
    {
        $op_id  = $this->user->get_id();
        $_POST['op_id'] = $op_id;
        $_POST['shop_ids'] = $this->shopIds;
        $_POST['branch_ids'] = $this->branchIds;
        kernel::single('omeanalysts_ome_deliveryexpressfeeAP')->set_params($_POST)->display();
    }
    //代收代付快递费结算明细表

    public function deliveryexpressfeeAgent()
    {
        $op_id  = $this->user->get_id();
        $_POST['op_id'] = $op_id;
        $_POST['shop_ids'] = $this->shopIds;
        $_POST['branch_ids'] = $this->branchIds;
        kernel::single('omeanalysts_ome_deliveryexpressfeeAgent')->set_params($_POST)->display();
    }
    //退货、换货、无来源列表
    public function reship()
    {
        $op_id  = $this->user->get_id();
        $_POST['op_id'] = $op_id;
        $_POST['shop_ids'] = $this->shopIds;
        kernel::single('omeanalysts_ome_reship')->set_params($_POST)->display();
    }
    //退货表
    public function reshipreturn()
    {
        $op_id  = $this->user->get_id();
        $_POST['op_id'] = $op_id;
        $_POST['shop_ids'] = $this->shopIds;
        kernel::single('omeanalysts_ome_reshipreturn')->set_params($_POST)->display();
    }
    //OMS过数明细
    public function omsax()
    {
        $op_id  = $this->user->get_id();
        $_POST['op_id'] = $op_id;
        $_POST['shop_ids'] = $this->shopIds;
        kernel::single('omeanalysts_ome_omsax')->set_params($_POST)->display();
    }
    //OMS过数明细
    public function orderreplace()
    {
        $op_id  = $this->user->get_id();
        $_POST['op_id'] = $op_id;
        $_POST['shop_ids'] = $this->shopIds;
        kernel::single('omeanalysts_ome_orderreplace')->set_params($_POST)->display();
    }
    //应收及应付快递费用核对汇总表
    public function deliveryexpressfeeSum()
    {
        $op_id  = $this->user->get_id();
        $_POST['op_id'] = $op_id;
        $_POST['shop_ids'] = $this->shopIds;
        kernel::single('omeanalysts_ome_deliveryexpressfeeSum')->set_params($_POST)->display();
    }
    //已备货退款订单
    public function stockuprefund()
    {
        $op_id  = $this->user->get_id();
        $_POST['op_id'] = $op_id;
        $_POST['shop_ids'] = $this->shopIds;
        kernel::single('omeanalysts_ome_stockuprefund')->set_params($_POST)->display();
    }

    //平台订单核对总表
    public function platformordercheckSum()
    {
        $op_id  = $this->user->get_id();
        $_POST['op_id'] = $op_id;
        $_POST['shop_ids'] = $this->shopIds;
        kernel::single('omeanalysts_ome_platformordercheckSum')->set_params($_POST)->display();   
    }
    //平台过数时间核对明细表
    public function crosscheckdelivery()
    {
        $op_id  = $this->user->get_id();
        $_POST['op_id'] = $op_id;
        $_POST['shop_ids'] = $this->shopIds;
        kernel::single('omeanalysts_ome_crosscheckdelivery')->set_params($_POST)->display();   
    }
    //促销订单查询表
    public function orderpromotion()
    {
        $op_id  = $this->user->get_id();
        $_POST['op_id'] = $op_id;
        $_POST['shop_ids'] = $this->shopIds;
        kernel::single('omeanalysts_ome_orderpromotion')->set_params($_POST)->display();   
    }
    //发货完成过数核对
    public function orderdeliverycomp()
    {
        $op_id  = $this->user->get_id();
        $_POST['op_id'] = $op_id;
        $_POST['shop_ids'] = $this->shopIds;
        kernel::single('omeanalysts_ome_orderdeliverycomp')->set_params($_POST)->display();   
    }
    //经销商仓库存
    public function dealerstock()
    {
        $op_id  = $this->user->get_id();
        $_POST['op_id'] = $op_id;
        $_POST['shop_ids'] = $this->shopIds;
        kernel::single('omeanalysts_ome_dealerstock')->set_params($_POST)->display();   
    }
    //自营积分查询
    public function orderscorecheck()
    {
        $op_id  = $this->user->get_id();
        $_POST['op_id'] = $op_id;
        $_POST['shop_ids'] = $this->shopIds;
        kernel::single('omeanalysts_ome_orderscorecheck')->set_params($_POST)->display();   
    }
     //店铺促销差价明细表
    public function spadjustmentdetail ()
    {
        $op_id  = $this->user->get_id();
        $_POST['op_id'] = $op_id;
        $_POST['shop_ids'] = $this->shopIds;
        kernel::single('omeanalysts_ome_spadjustmentdetail')->set_params($_POST)->display();   
    }
    //补发订单查询
    public function reissuedoc ()
    {
        $op_id  = $this->user->get_id();
        $_POST['op_id'] = $op_id;
        $_POST['shop_ids'] = $this->shopIds;
        kernel::single('omeanalysts_ome_reissuedoc')->set_params($_POST)->display();   
    }
}